#include <stdio.h>
int main()
{
	float a,b,total,PI=3.14;
	int n,i=0;
	scanf("%d", &n);
	int z[n];
	while (i<n)
	{
		scanf("%f %f", &a, &b);
		total = PI * ( a * a + b * b) / 2;
		z[i++] = (int)(total/50) + 1;
	}
	i=0;
	while (i<n)
	{
		printf("Property %d: This property will begin eroding in year %d.\n", i+1, z[i]);
		i++;
	}
	printf("END OF OUTPUT.\n");
	return 0;
}
